.class Lcom/waiqin365/lightwork/tracker/ai;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7

    const v3, 0x7f0806bb

    const v6, 0x7f0802be

    const/4 v5, 0x0

    const v4, 0x7f0806b1

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightwork/tracker/b/q;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/q;->b()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/q;->c()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/q;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_0

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    const-class v3, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "title"

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "msg"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v4, v6}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "\uff1a"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/q;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/q;->a()Lcom/waiqin365/lightwork/tracker/model/g;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->a(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Lcom/waiqin365/lightwork/tracker/model/g;)Lcom/waiqin365/lightwork/tracker/model/g;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->c(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;)V

    goto :goto_0

    :cond_1
    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    const-class v3, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "title"

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "msg"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v4, v6}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "\uff1a"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/q;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightwork/tracker/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/p;->b()Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/p;->c()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_2

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/p;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_2

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    const-class v3, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "title"

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "msg"

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/p;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-static {v0, v5}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->c(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Z)Z

    goto/16 :goto_0

    :cond_2
    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/b/p;->g:Ljava/lang/String;

    if-eqz v1, :cond_3

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/b/p;->g:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-static {v1, v5}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->c(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Z)Z

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    iget-object v2, v0, Lcom/waiqin365/lightwork/tracker/b/p;->e:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->a(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/p;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->b(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/b/p;->g:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->c(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_3
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "msg"

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-static {v0, v5}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->c(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Z)Z

    goto/16 :goto_0

    :cond_4
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "msg"

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/ai;->a:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-static {v0, v5}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->c(Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;Z)Z

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method
